/**
 * ===========================================================================
 * 版权所有 湖南免了么网络科技有限公司，并保留所有权利。
 * 网站地址: http://www.mianle.me
 * ===========================================================================
 * 19:56 2018/7/4
 */
package com.mianle.userapi.service;

import com.mianle.userapi.mapper.WalletAccountLogMapper;
import com.mianle.userapi.mapper.WalletUserMapper;
import com.mianle.userapi.model.WalletAccountLog;
import com.mianle.userapi.model.WalletUser;
import com.mianle.userapi.util.BigNum;
import com.mianle.userapi.util.Tools;
import org.apache.commons.lang.math.NumberUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;

/**
 * @Author: yiyuan
 * @Description:
 * @Date: Created in 19:56 2018/7/4
 *
 */
@Service
public class TestException2 {

    @Autowired
    private WalletUserMapper walletUserMapper;


    @Autowired
    private WalletAccountLogMapper walletAccountLogMapper;

    public static void main(String[] args) {
        try {
            if (18 == 18) {
                throw new RuntimeException();
            }
        }catch (Exception e) {
            System.out.println("-------------------积分返余额----------用户------出现错误,需手共处理");
            throw e;
        }
    }

}
